﻿using System;
using System.Xml.Serialization;

namespace Limestone
{
    [Serializable]
    [XmlRoot("parameters", Namespace = "http://www.limestone.se", IsNullable = false)]
    public class PageStub : IPageStub
    {
        public string Name { get; set; }
        public string Path { get; set; }
        public string Title { get; set; }
        public string TemplatePath { get; set; }
        public bool Hidden { get; set; }

        public PageStub(){}

        public PageStub(string name, string path, string title, string templatePath, bool hidden)
        {
            Name = name;
            Path = path;
            Title = title;
            TemplatePath = templatePath;
            Hidden = hidden;
        }

    }
}
